<!DOCTYPE html>
<html>
<head>
    <include file="./public/sty.html"/>
	<style>
		.checkNumber ul{width: 100%;}
		.checkNumber ul,.betTip span{display: none;}
		.checkNumber ul.on,.betTip span.on{display: inline-block;}
		.announcedNo{display:none !important;}
		.announcedNo.on{display:inline-block !important;}
	</style>
</head>
<body>
<div id="app" class="lottery">
    <include file="./public/header2.html"/>
        <div data-v-b7ef64ea="" class="betTitle fix" data-v-72cdd821="">
            <div data-v-b7ef64ea="" class="betLogo">
				<h2 data-v-b7ef64ea="">甘肃快3</h2> <i data-v-b7ef64ea="" class="iconfont L_K3"></i>
			</div>
            <div data-v-b7ef64ea="" class="time">
                <div data-v-b7ef64ea="" class="timeTitle">
                    距<b data-v-b7ef64ea=""><span id="qishu">
                    <?php if($state==1){
                          echo date('Ymd',strtotime("+1 day")).'001';
                       }else{
                         if(trim(substr($dat['coming_issue'],-3)) == '72'){
                              echo (substr($dat['current_issue'],0,8)+1).'001';
                          }else{
                             echo $dat['current_issue'];
                          }
                       }
                   ?>

                    </span></b>期投注截止还有：</div>
                <if condition="$state eq 1 "><em data-v-b7ef64ea=""><span >预售中</span></em>
                    <else /> <em data-v-b7ef64ea=""><span id="RemainH">00:00:00</span></em>
                </if>
            </div>
            <div data-v-b7ef64ea="" id="Results" class="announced">
                <div data-v-b7ef64ea="" class="announcedTitle">第<b data-v-b7ef64ea=""><span id="qishu2">{$dat.coming_issue}</span></b>期开奖号码：</div>
				
				<ul data-v-b7ef64ea="" class="announcedNo <?php if($arr[0]['expect']==$dat['coming_issue']&&!empty($arr[0]['ocode'])){echo 'on';}?> fix dnv">
                    <if condition="$arr[0]['ocode'][0] eq 1 "> <li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 0px"></li>
                        <elseif condition="$arr[0]['ocode'][0] eq 2"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -61px"></li>
                        <elseif condition="$arr[0]['ocode'][0] eq 3"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -122px"></li>
                        <elseif condition="$arr[0]['ocode'][0] eq 4"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -183px"></li>
                        <elseif condition="$arr[0]['ocode'][0] eq 5"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -244px"></li>
                        <else /> <li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -305px"></li>
                    </if>
                    <if condition="$arr[0]['ocode'][1] eq 1 "> <li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 0px"></li>
                        <elseif condition="$arr[0]['ocode'][1] eq 2"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -61px"></li>
                        <elseif condition="$arr[0]['ocode'][1] eq 3"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -122px"></li>
                        <elseif condition="$arr[0]['ocode'][1] eq 4"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -183px"></li>
                        <elseif condition="$arr[0]['ocode'][1] eq 5"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -244px"></li>
                        <else /> <li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -305px"></li>
                    </if>
                    <if condition="$arr[0]['ocode'][2] eq 1 "> <li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 0px"></li>
                        <elseif condition="$arr[0]['ocode'][2] eq 2"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -61px"></li>
                        <elseif condition="$arr[0]['ocode'][2] eq 3"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -122px"></li>
                        <elseif condition="$arr[0]['ocode'][2] eq 4"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -183px"></li>
                        <elseif condition="$arr[0]['ocode'][2] eq 5"/><li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -244px"></li>
                        <else /> <li data-v-b7ef64ea="" class="announcedNo2" style="background-position: 0 -305px"></li>
                    </if>
                </ul> 
				<ul data-v-b7ef64ea="" class="announcedNo  <?php if($arr[0]['expect']!=$dat['coming_issue']||empty($arr[0]['ocode'])){echo 'on';}?> fix dvc">
                    <img data-v-b7ef64ea="" width="61" height="71" src="/style/images/open_num.gif">
                    <img data-v-b7ef64ea="" width="61" height="71" src="/style/images/open_num.gif">
                    <img data-v-b7ef64ea="" width="61" height="71" src="/style/images/open_num.gif">
                </ul>
			
            </div>
        </div>
        <div data-v-72cdd821="" class="betContent fix">
            <div data-v-72cdd821="" class="betLeft">
                <div data-v-778ee391="" data-v-72cdd821="">
                    <div data-v-778ee391="" class="betNavCon">
                        <ul data-v-778ee391="" class="betNav fix" style="width: 1120px; transform: translateX(0px);">
                            <li data-v-778ee391="" class=""><a href="{:U('Lottery/jiangsu')}">江苏快3</a></li>
                            <li data-v-778ee391="" class=""><a href="{:U('Lottery/anhui')}">安徽快3</a></li>
                            <li data-v-778ee391="" class=""><a href="{:U('Lottery/guangxi')}">广西快3</a></li>
                            <li data-v-778ee391="" class=""><a href="{:U('Lottery/hubei')}">湖北快3</a></li>
                            <li data-v-778ee391="" class=""><a href="{:U('Lottery/beijing')}">北京快3</a></li>
                            <li data-v-778ee391="" class=""><a href="{:U('Lottery/hebei')}">河北快3</a></li>
                            <li data-v-778ee391="" class="active">甘肃快3</li>
                            <li data-v-778ee391="" class=""><a href="{:U('Lottery/shanghai')}">上海快3</a></li>
                            <li data-v-778ee391="" class=""><a href="{:U('Lottery/guizhou')}">贵州快3</a></li>
                            <li data-v-778ee391="" class=""><a href="{:U('Lottery/jilin')}">吉林快3</a></li>
                        </ul>
                    </div>
                    <a data-v-778ee391="" class="betNavtab left"><span data-v-778ee391=""><em data-v-778ee391=""></em></span></a>
                    <a data-v-778ee391="" class="betNavtab right"><span data-v-778ee391=""><em data-v-778ee391=""></em></span></a>
                </div>
                <!---->
                <div data-v-021d6267="" data-v-72cdd821="">
                    <ul data-v-021d6267="" class="betFilter">
                        <li data-kd="1" data-v-021d6267="" class="curr">和值</li>
                        <li data-kd="2" data-v-021d6267="" class="">三同号通选</li>
                        <li data-kd="3" data-v-021d6267="" class="">三同号单选</li>
                        <li data-kd="4" data-v-021d6267="" class="">三不同号</li>
                        <li data-kd="5" data-v-021d6267="" class="">三连号通选</li>
                        <li data-kd="6" data-v-021d6267="" class="">二同号复选</li>
                        <li data-kd="7" data-v-021d6267="" class="">二同号单选</li>
                        <li data-kd="8" data-v-021d6267="" class="">二不同号</li>
                    </ul>
                    <div data-v-021d6267="" class="betTip"><i data-v-021d6267="" class="iconfont"></i><span class="on"  data-kd="1">猜3个开奖号相加的和，3-10为小，11-18为大。赔率{$min}-{$max}倍。</span>
                        <span  data-kd="2">对所有相同的三个号码(111、222、333、444、555、666)进行投注，任意号码开出，即为中奖。赔率<i>{$k3['9']}</i>倍。</span>
                        <span  data-kd="3">对相同的三个号码(111、222、333、444、555、666)中的任意一个或多个进行投注，所选号码开出，即为中奖。赔率<i>{$k3['10']}</i>倍。</span>
                        <span  data-kd="4">从1-6中任选3个或多个号码,所选号码与开奖号码的3个号码相同,即为中奖。赔率<i>{$k3['11']}</i>倍。</span>
                        <span  data-kd="5">对所有的3个相连号码(123、234、345、456)进行投注，任意号码开出，即为中奖。赔率<i>{$k3['12']}</i>倍。</span>
                        <span  data-kd="6">从11-66中任选1个或多个号码，选号与奖号(包含11-66，不限顺序)相同，即为中奖（不含豹子）。赔率<i>{$k3['13']}</i>倍。</span>
                        <span  data-kd="7">选择1对相同号码和1个不同号码投注，选号与奖号相同，即为中奖。赔率<i>{$k3['14']}</i>倍。</span>
                        <span  data-kd="8">从1-6中任选2个或多个号码，所选号码与开奖号码任意2个号码相同，即为中奖。赔率<i>{$k3['15']}</i>倍。</span>
                    </div>
                    <div data-v-021d6267="" class="checkNumber">
                        <!--和值-->
                        <ul data-kd="1" data-que="2" data-type="1" class="on" data-v-021d6267="">
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">3</a> <span
                                    data-v-021d6267=""> 赔{$k3['1']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">4</a> <span
                                    data-v-021d6267=""> 赔{$k3['2']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">5</a> <span
                                    data-v-021d6267=""> 赔{$k3['3']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">6</a> <span
                                    data-v-021d6267=""> 赔{$k3['4']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">7</a> <span
                                    data-v-021d6267=""> 赔{$k3['5']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">8</a> <span
                                    data-v-021d6267=""> 赔{$k3['6']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">9</a> <span
                                    data-v-021d6267=""> 赔{$k3['7']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">10</a> <span
                                    data-v-021d6267=""> 赔{$k3['8']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">11</a> <span
                                    data-v-021d6267=""> 赔{$k3['8']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">12</a> <span
                                    data-v-021d6267=""> 赔{$k3['7']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">13</a> <span
                                    data-v-021d6267=""> 赔{$k3['6']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">14</a> <span
                                    data-v-021d6267=""> 赔{$k3['5']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">15</a> <span
                                    data-v-021d6267=""> 赔{$k3['4']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">16</a> <span
                                    data-v-021d6267=""> 赔{$k3['3']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">17</a> <span
                                    data-v-021d6267=""> 赔{$k3['2']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">18</a> <span
                                    data-v-021d6267=""> 赔{$k3['1']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">大</a> <span
                                    data-v-021d6267=""> 赔率{$k3['0']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">小</a> <span
                                    data-v-021d6267=""> 赔率{$k3['0']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">单</a> <span
                                    data-v-021d6267=""> 赔率{$k3['0']}</span></li>
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">双</a> <span
                                    data-v-021d6267=""> 赔率{$k3['0']}</span></li>
                        </ul>
                        <!--三同号通选-->
                        <ul data-kd="2" data-que="2" data-type="1" data-v-021d6267="">
                            <li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">三同号通选</a></li>
                        </ul>
                        <!--三同号单选-->
                        <ul data-kd="3" data-que="1" data-type="2" data-v-021d6267=""><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">111</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">222</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">333</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">444</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">555</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">666</a> <!----></li></ul>
                        <!--三不同号-->
                        <ul data-kd="4" data-que="1"  data-type="3"   data-v-021d6267=""><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">1</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">2</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">3</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">4</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">5</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">6</a> <!----></li></ul>
                        <!--三连号通选-->
                        <ul data-kd="5" data-que="2" data-type="1"   data-v-021d6267=""><li data-v-021d6267=""><a data-v-021d6267="" class="ClickShade">三连号通选</a> <!----></li></ul>
                        <!--二同号复选-->
                        <ul data-kd="6" data-que="1"  data-type="2" data-type2="2"   data-v-021d6267=""><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">11</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">22</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">33</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">44</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">55</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">66</a> <!----></li></ul>
                        <!--二同号单选-->
                        <ul data-kd="7" data-que="1"  data-type="4" data-type4="1"   data-v-021d6267=""><li data-v-021d6267="" ><a data-v-021d6267="" class="ClickShade">11</a></li><li data-v-021d6267="" ><a data-v-021d6267="" class="ClickShade">22</a></li><li data-v-021d6267="" ><a data-v-021d6267="" class="ClickShade">33</a></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">44</a></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">55</a></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">66</a></li></ul>
                        <ul data-kd="7"  data-que="1"  data-type="4" data-type4="2"   data-v-021d6267=""><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">1</a></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">2</a></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">3</a></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">4</a></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">5</a></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">6</a></li></ul>
                        <!--二不同号-->
                        <ul data-kd="8" data-que="1"  data-type="5"   data-v-021d6267=""><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">1</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">2</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">3</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">4</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">5</a> <!----></li><li data-v-021d6267="" class=""><a data-v-021d6267="" class="ClickShade">6</a> <!----></li></ul>

                        
                    </div>
                    <div data-v-021d6267="" class="Panel" style="display: none;">
                        <p data-v-021d6267="" class="betTotal">您选择了 
						<em data-v-021d6267="">0</em> 注</p>
                        <a data-v-021d6267="" class="betBtn ClickShade">确认选号</a>
                    </div>
					<form action="{:U('Lottery/adds')}" id="forms" method="post">
						<input type="hidden" name="lottery_class_id" value="10">
						<input type="hidden" name="issue" id="issue" value="<?php echo $dat['current_issue'];?>">
						<div data-v-021d6267="" class="checkedList">
							<table data-v-021d6267="">
								<tbody data-v-021d6267="">
								</tbody>
							</table>
						</div>
						<div data-v-021d6267="" class="Bet">
							<p data-v-021d6267="" class="betTotal">方案注数 
								<em class="zhu fx_total_zhu1" data-v-021d6267="" >0</em> 注，
								金额 <i data-v-021d6267="" class="money fx_total_money1">0</i> 元
								</p>
							<a data-v-021d6267="" class="betBtn ClickShade UnClick fx_sub_btn">立即投注</a>
						</div>
					</form>
                </div>
            </div>
            <!--right-->
            <div data-v-9bfff95c="" class="betRight" data-v-72cdd821="">
                <div data-v-9bfff95c="" class="today box"><h3 data-v-9bfff95c="">今日开奖</h3>
                    <div data-v-9bfff95c="" class="more">
						<a href="{:U('Lottery/trendChart_k3_gsk3')}" class="" target="_blank" data-v-9bfff95c="">走势图</a>
						<a href="javascript:;" data-v-9bfff95c="" class="fx_wf_btn">玩法说明</a>
					</div>
                    <div data-v-9bfff95c="" class="ResultsList">
                        <table data-v-9bfff95c="" width="100%" border="0" cellspacing="0" cellpadding="0" id="fn_getoPenGame" class="ty_table_gameBet curr">
                            <tbody data-v-9bfff95c="">
                            <tr data-v-9bfff95c="">
                                <th data-v-9bfff95c="" scope="col">期号</th>
                                <th data-v-9bfff95c="" scope="col">开奖号</th>
                                <th data-v-9bfff95c="" scope="col">和值</th>
                                <th data-v-9bfff95c="" scope="col">形态</th>
                            </tr>
                            </tbody>
                            <tbody data-v-9bfff95c="" class="conss">
							<foreach name="arr" item="vo">
                            <tr data-v-9bfff95c="">
                                <td data-v-9bfff95c="" class="c_green">
									<i data-v-9bfff95c="" class="o_qi">{$vo.expect}</i>
								</td>
                                <td data-v-9bfff95c=""><i data-v-9bfff95c="" class="numbers">{$vo.opencode}</i></td>
                                <td data-v-9bfff95c="">{$vo.total}</td>
                                <td data-v-9bfff95c="">
									<if condition="$vo.size eq 1 ">
									<em data-v-9bfff95c="" class="xiao">
									小
									</em> 
									 <else /> 
									<em data-v-9bfff95c="" class="da">
									大
									</em> 
									 </if>
									<if condition="$vo.attr eq 1 ">
									<em data-v-9bfff95c="" class="dan">
										单
									</em>
									 <else /> 
										<em data-v-9bfff95c="" class="shuang">
										双
										</em>
									 </if>
								</td>
                            </tr>
							</foreach>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div data-v-9bfff95c="" class="mybet box"><h3 data-v-9bfff95c="" class="">我的投注</h3>
                    <table data-v-9bfff95c="" width="100%" border="0" cellspacing="0" cellpadding="0" class="_mybetContent">
                        <tbody data-v-9bfff95c="">
                        <tr data-v-9bfff95c="">
                            <th data-v-9bfff95c="">期号</th>
                            <th data-v-9bfff95c="">投注金额</th>
                            <th data-v-9bfff95c="">奖金</th>
                        </tr>
						<foreach name="res" item="vo">
                        <tr data-v-9bfff95c="">
                            <td data-v-9bfff95c="">{$vo.issue}</td>
                            <td data-v-9bfff95c=""><?php echo sprintf('%.2f',$vo['money']); ?></td>
                            <td data-v-9bfff95c=""><?php echo sprintf('%.2f',$vo['zong_money']); ?></td>
                        </tr>
						</foreach>
                        </tbody>
                    </table>
                    <table data-v-9bfff95c="" width="100%" border="0" cellspacing="0" cellpadding="0" class="_betChaseAnimation dpn"></table>
                    <table data-v-9bfff95c="" class="more">
                        <tbody data-v-9bfff95c="">
                        <tr data-v-9bfff95c="">
                            <td data-v-9bfff95c="">
								<a href="{:U('Users/BetRecord')}" class="" data-v-9bfff95c="">更多&gt;&gt;</a>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div data-v-9bfff95c="" class="winningList box">
					<h3 data-v-9bfff95c="" class="">中奖信息</h3>
                    <h3 data-v-9bfff95c="" class="notSelect">昨日奖金榜</h3>
                    <div data-v-9bfff95c="" id="Ranking" class="winnerListSlide" style="width: 100%; box-sizing: content-box;">
                        <div data-v-9bfff95c="" id="lotteryInfo" style="width: 100%;">
                            <table data-v-9bfff95c="" width="100%">
                                <tbody data-v-9bfff95c="">
                                <tr data-v-9bfff95c="">
                                    <th data-v-9bfff95c="">中奖信息实时更新</th>
                                </tr>
                                </tbody>
                            </table>
                            <div data-v-9bfff95c="" class="bd">
                                <div data-v-9bfff95c="" class="tempWrap" style="overflow: hidden; height: 510px;">
                                    <ul data-v-9bfff95c="" class="winnerList" style="cursor: pointer; position: relative; transition: all 0.3s linear;">
                                        <foreach name="r" item="v">
                                            <input type="hidden" class="sex" value="{$v.sex}">
                                            <input type="hidden" class="acount" value="{$v.accounts}">
                                            <input type="hidden" class="level" value="{$v.touxie}">
                                            <input type="hidden" class="levname" value="{$v.zhiw}">
                                            <input type="hidden" class="zhong" value="{$v.total}">
                                            <input type="hidden" class="nickname" value="{$v.nickname}">
                                            <input type="hidden" class="img" value="{$v.avatar}">
                                            <li data-v-9bfff95c="">
                                                <img data-v-9bfff95c="" src="{$v.avatar}">
                                                <p data-v-9bfff95c=""><?php if(empty($v['nickname'])){ ?>
                                                    <?php echo substr($v['accounts'],0,2); ?>****<?php echo substr($v['accounts'],-1); ?>
                                                    <?php }else{  ?>
                                                    {$v.nickname}
                                                    <?php } ?>&nbsp;&nbsp;&nbsp;{$v.name}
                                                    <br data-v-9bfff95c="">喜中<span data-v-9bfff95c="">¥<?php echo sprintf('%.2f',$v['zong_money']); ?></span>
                                                </p>
                                            </li>
                                        </foreach>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div data-v-9bfff95c="" id="moneyList" style="width: 100%; display: none;">
                            <table data-v-9bfff95c="" width="100%" border="0" cellspacing="0" cellpadding="0" style="position: relative;">
                                <tr data-v-9bfff95c="">
                                    <th data-v-9bfff95c="" colspan="2">昨日累计奖金排行榜</th>
                                </tr>
                                <foreach name="da" item="vv" key="key">
                                    <tr data-v-9bfff95c="">
                                        <input type="hidden" class="sex" value="{$vv.sex}">
                                        <input type="hidden" class="acount" value="{$vv.accounts}">
                                        <input type="hidden" class="level" value="{$vv.touxie}">
                                        <input type="hidden" class="levname" value="{$vv.zhiw}">
                                        <input type="hidden" class="zhong" value="{$vv.total}">
                                        <input type="hidden" class="nickname" value="{$vv.nickname}">
                                        <input type="hidden" class="img" value="{$vv.avatar}">
                                        <td data-v-9bfff95c="" >
                                            <img data-v-9bfff95c="" src="{$vv.avatar}">
                                            <p data-v-9bfff95c="">账号昵称：<?php if(empty($vv['nickname'])){ ?>
                                                <?php echo substr($vv['accounts'],0,2); ?>**<?php echo substr($vv['accounts'],-1); ?>
                                                <?php }else{  ?>
                                                {$vv.nickname}
                                                <?php } ?>
                                                <br data-v-9bfff95c=""> 昨日奖金：<i data-v-9bfff95c="">¥<?php echo sprintf('%.2f',$vv['zuo_money']); ?></i>
                                            </p>
                                        </td>
                                        <td data-v-9bfff95c="">
                                            <ins data-v-9bfff95c="" style="text-align: center" >{$key+1}</ins>
                                        </td>
                                    </tr>
                                </foreach>
                            </table>
                        </div>
                    </div>
                </div>
                <div data-v-3191fb32="" class="cardBox" data-v-9bfff95c="" style="display: none;"><!----></div>
            </div>
        </div>
    </div>
    <!--footer-->
    <include file="./public/footer.html"/>
    <!--footer end-->

    <!--提示框-->
   <!--  <include file="./public/not.html"/> -->
    <!--提示框 end-->
    <!--loading-->
    <div data-v-5e5a3c80="" class="layermbox layermbox2 layermshow" style="display: none;" >
        <div data-v-5e5a3c80="" class="laymshade"></div>
        <div data-v-5e5a3c80="" class="layermmain">
            <div data-v-5e5a3c80="" class="section">
                <div data-v-5e5a3c80="" class="layermchild  layermanim">
                    <div data-v-5e5a3c80="" class="layermcont">
                        <i data-v-5e5a3c80=""></i><i data-v-5e5a3c80="" class="laymloadtwo"></i><i data-v-5e5a3c80=""></i>
                        <div data-v-5e5a3c80=""></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--loading end-->
    <!--弹出框-->
    <!--投注提示-->
    <div id="layermbox32" class="layermbox layermbox0 layermshow" index="32">
		<div class="laymshade"></div>
		<div class="layermmain">
			<div class="section">
				<div class="layermchild layerConfirm layermanim">
					<h3 style="">温馨提示</h3>
					<button class="layermend"></button>
					<div class="layermcont">当前为0注，请投注！</div>
					<div class="layermbtn"><span type="1">确定</span></div>
				</div>
			</div>
		</div>
	</div>
    <!--投注提示 end-->
    <!--马上投注提示-->
    <div id="layermbox1" class="layermbox layermbox0 layermshow" index="1">
		<div class="laymshade"></div>
		<div class="layermmain">
			<div class="section">
				<div class="layermchild layerConfirm layermanim">
					<h3 style="">温馨提示</h3>
					<button class="layermend"></button>
					<div class="layermcont">请至少选择一注投注号码</div>
					<div class="layermbtn"><span type="1">确定</span></div>
				</div>
			</div>
		</div>
	</div>
    <!--马上投注提示 end-->
    <!--投注结果弹出框-->
    <div id="layermbox8" class="layermbox layermbox0 layermshow" index="8">
		<div class="laymshade"></div>
		<div class="layermmain">
			<div class="section">
				<div class="layermchild layerBet layermanim">
					<h3 style="">投注确认</h3>
					<button class="layermend"></button>
					<div class="layermcont">
					<div id="CheckBetLayer" class="lotteryConfirm">
						<ul>
							<li><span>彩种：</span><em class="fill tit">重庆时时彩</em></li>
							<li><span>期号：</span>第<em class="fill layerIssue"><span id='spans'>
                                <?php if($state==1){
                          echo date('Ymd',strtotime("+1 day")).'001';
                       }else{
                         if(trim(substr($dat['coming_issue'],-3)) == '72'){
                              echo (substr($dat['current_issue'],0,8)+1).'001';
                          }else{
                             echo $dat['current_issue'];
                          }
                       }
                   ?>
                            </span></em>期</li>
							<li><span>详情：</span>
								<div class="fill textarea">
									<p class="detail">[五星,直选,复式] 7,7,6,6,5 6 7<br>[五星,直选,复式] 6,7,6,7,7 8</p>
								</div>
							</li>
							<li><span>投注总金额：</span><em><em class="fill _submitPlansMoney zont_money">10</em>元</em>
							</li>
						</ul>
					</div>
				</div>
				<div class="layermbtn">
					<span type="0">取消</span>
					<span type="1" onclick="tj()">确认投注</span>
				</div>
			</div>
		</div>
	</div>
	</div>
    <!--投注结果弹出框 end-->
    <!--温馨提示6 -->
    <div id="layermbox6" class="layermbox layermbox0 layermshow" index="6">
	<div class="laymshade"></div><div class="layermmain"><div class="section"><div class="layermchild layerConfirm layermanim"><h3 style="">温馨提示</h3><button class="layermend"></button><div class="layermcont">您有号码未设置金额，请核对后投注。</div><div class="layermbtn"><span type="1">确定</span></div></div></div></div></div>
    <!--温馨提示 end-->
    <!--温馨提示5-->
    <div id="layermbox5" class="layermbox layermbox0 layermshow" index="5"><div class="laymshade"></div><div class="layermmain"><div class="section"><div class="layermchild layerConfirm layermanim"><h3 style="">温馨提示</h3><button class="layermend"></button><div class="layermcont">号码选择不完整，请重新选择</div><div class="layermbtn"><span type="1">确定</span></div></div></div></div></div>
    <!--温馨提示 end-->
    <!--弹出框 end-->
</div>

<div id="layermbox0" class="layermbox layermbox0 layermshow tanc" index="0"  style="display: none;" >
	<div class="laymshade"></div>
	<div class="layermmain">
		<div class="section">
			<div class="layermchild layerConfirm layermanim">
				<h3 style="">温馨提示</h3>
				<button class="layermend"></button>
				<div class="layermcont">
					<span id="span11"><?php echo substr(trim($dat['current_issue']),4);?></span>期已截止
					<br>当前期号<span style="color:red" id="span22"><?php echo substr(trim($dat['current_issue']+1),4);?></span>
					<br>投注时请注意期号
				</div>
			<div class="layermbtn">
				<span type="1">确定</span>
			</div>
		</div>
	</div>
</div>
</div>
<!--弹出框-->
<!--提示信息-->
<div id="layermbox11" class="layermbox layermbox0 layermshow" ><div class="laymshade"></div><div class="layermmain"><div class="section"><div  class="fx_ts_timeOut" >已经到底啦</div></div></div></div>
<!--提示信息 end-->
<div id="layermbox12" class="layermbox layermbox0 layermshow" ><div class="laymshade"></div><div class="layermmain"><div class="section"><div class="fx_ts_timeOut" >已经到顶啦</div></div></div></div>
<!--弹出框 end-->
<div id="layermbox199" class="layermbox layermbox0 layermshow" index="11"><div class="laymshade"></div><div class="layermmain"><div class="section"><div class="layermchild layerConfirm layermanim"><h3 style="">温馨提示</h3><button class="layermend"></button><div class="layermcont">·投注成功·</div><div class="layermbtn"><span type="1">确定</span></div></div></div></div></div>
<div id="tishi1" class="layermbox layermbox0 layermshow" index="11">
    <div class="laymshade"></div>
    <div class="layermmain">
        <div class="section">
            <div class="layermchild layerConfirm layermanim"><h3 style="">温馨提示</h3>
                <button class="layermend"></button>
                <div class="layermcont">·停止销售·</div>
                <div class="layermbtn"><span type="1">确定</span></div>
            </div>
        </div>
    </div>
</div>
<div id="tishi2" class="layermbox layermbox0 layermshow" index="11">
    <div class="laymshade"></div>
    <div class="layermmain">
        <div class="section">
            <div class="layermchild layerConfirm layermanim"><h3 style="">温馨提示</h3>
                <button class="layermend"></button>
                <div class="layermcont">·用户余额不足,请先充值·</div>
                <div class="layermbtn"><span type="1">确定</span></div>
            </div>
        </div>
    </div>
</div>

<script src="/style/js/jquery.min.js"></script>
<script src="/style/js/fx.js"></script>
<script>
var na = "<?php echo $dat['coming_issue'];?>";
var na2 = "<?php echo $dat['current_issue'];?>";
var sta = "<?php echo $state;?>";
var jj = "<?php echo substr($dat['issue'],0,8);?>";
var end = "<?php echo $end;?>";
var str1 = "<?php echo $str;?>";
var ming = "<?php echo $ming;?>";
if(sta=='1'){
    var jqi = parseInt(jj)+1+'001';
    $("#qishu").html(jqi);
}
$(function(){
	personalInfo();
//        滑动彩票种类js
	kindsSlide();
//       彩票选择的JS
	K3JS(); 
})
function tj(){
	if(sta=='1'){
//		alert("停止销售");
        $("#tishi1").show();
	}else{
	var issue = $("#spans").html();
        var pour = $(".fx_total_zhu1_num").val();
        var money = $(".fx_total_money1_num").val();
        var lst = [];  
        var checkedRow = $("input[name='vls[]']");
        for (var i = 0; i < checkedRow.length; i++) {  
            lst[i] = checkedRow[i].value;  
        }
        var lst1 = [];  
        var checkedRow1 = $("input[name='ty_name[]']");
        for (var i = 0; i < checkedRow1.length; i++) {  
            lst1[i] = checkedRow1[i].value;  
        }
        var lst3 = [];  
        var checkedRow3 = $("input[name='pours[]']");
        for (var i = 0; i < checkedRow3.length; i++) {  
            lst3[i] = checkedRow3[i].value;  
        }
        var lst5 = [];  
        var checkedRow5 = $("input[name='per_money[]']");
        for (var i = 0; i < checkedRow5.length; i++) {  
            lst5[i] = checkedRow5[i].value;  
        }
        var lst6 = [];  
        var checkedRow6 = $("input[name='add_money[]']");
        for (var i = 0; i < checkedRow6.length; i++) {  
            lst6[i] = checkedRow6[i].value;  
        }
        
        $.ajax({
             type: "POST",
             url: "{:U('Lottery/adds')}",
             data: {lottery_class_id:10,issue:issue,zhus:pour,mons:money,vls:lst,ty_name:lst1,pours:lst3,per_money:lst5,add_money:lst6},
             success: function(data){
                if(data==1){
                    $(".checkedList tr").remove();
                    $("#layermbox199").show();
                    $(".fx_total_zhu1").text("0");
                    $(".fx_total_money1").text("￥0.00");
                    $(".fx_total_zhu1_num").val("");
                    $(".fx_total_money1_num").val("");
                    $(".checkNumber li").removeClass("active");
                }else if(data==3){
//                    alert("余额不足,请先充值!");
                    $("#tishi2").show();
                    return false;
                }
             }
        });
	}
	
}
if(sta!=1){
	var zhuq = setInterval(function shows(){
		$.ajax({
				 type: "POST",
				 url: "{:U('Lottery/get_time')}",
				 data: {id:10},
				 success: function(data){
					$('#RemainH').empty();  
					var nH=Math.floor(data/(1000*60*60))%24;//时
					var nM=Math.floor(data/(1000*60)) % 60;//分
					var nS=Math.floor(data/1000) % 60;//秒
					if(nH<10){
						nH = '0'+nH;
					}if(nM<10){
						nM = '0'+nM;
					}if(nS<10){
						nS = '0'+nS;
					}
					$('#RemainH').html(nH+':'+nM+':'+nS);
					if(nH==0){
						if(nM==0){
							if(nS==0){
                                var now = $("#qishu").html();
                                if(parseInt(now) == parseInt(end)){
                                    $("#RemainH").html("预售中");
                                    if(parseInt(jj) == parseInt(str1)){
                                        //下月初
                                        var jqi = ming+'001';
                                        $("#qishu").html(jqi);
                                    }else{
                                        //直接加1
                                        var jqi = parseInt(jj)+1+'001';
                                        $("#qishu").html(jqi);
                                    }
                                    clearInterval(zhuq);
                                }else{
    								var str = eval(na2)+1;
    								var s11 = eval(na)+1;
    								$("#span22").html(str.toString().substr(4));
    								$("#span11").html(s11.toString().substr(4));
    								$(".tanc").show();
    								gets();
                                    yaod();
                                }
							}
						}
					}
				  }
			 });
	},1000);

    var ting = setInterval(function shows1(){
        var kaij = $("#qishu2").html();
        $.ajax({
                 type: "POST",
                 url: "{:U('Lottery/get_k3res')}",
                 data: {id:10,kaij:kaij},
                 success: function(data){
                    var data=eval("("+data+")");
                    if(kaij==data.expect){
                        $(".dvc").removeClass("on");
                        $(".dnv").addClass("on");
                        clearInterval(ting);
                    }else{
                        yaod();
                        clearInterval(ting);
                    }
                  }
             });
    },1000);
}


function gets(){
		$.ajax({
             type: "POST",
             url: "{:U('Lottery/upd_issue')}",
             data: {na2:eval(na2)+1,na:eval(na)+1,id:10},
             success: function(data){
				 var dat = eval( '(' + data + ')' ); 
				 window.na = dat.coming_issue;
				 window.na2 = dat.current_issue;
				$(".dvc").addClass("on");
				$(".dnv").removeClass("on");
			  }
         });
		$("#qishu2").html(eval(na)+1);
		$("#qishu").html(eval(na2)+1);
		$("#spans").html(eval(na2)+1);
}
function yaod(){
    var ting = setInterval(function shows(){
        var kaij = $("#qishu2").html();
        $.ajax({
                 type: "POST",
                 url: "{:U('Lottery/get_k3res')}",
                 data: {id:10,kaij:kaij},
                 success: function(data){
                    var data=eval("("+data+")");
                    if(kaij==data.expect){
                        if(data!=0){
                            html = "<tr data-v-9bfff95c=''><td data-v-9bfff95c='' class='c_green'><i data-v-9bfff95c='' class='o_qi'>"+data.expect+"</i></td>";
                            html+= "<td data-v-9bfff95c=''><i data-v-9bfff95c='' class='numbers'>"+data.opencode+"</i></td>";
                            html+= "<td data-v-9bfff95c=''>"+data.total+"</td>";        
                            html+= "<td data-v-9bfff95c=''><em data-v-9bfff95c='' class='da'>"+data.size+"</em><em data-v-9bfff95c='' class='shuang'>"+data.attr+"</em></td></tr>";
                            if(data.ocode['0']=='1'){
                                $(".announcedNo2:nth-of-type(1)").css("background-position","0 0px");
                            }else if(data.ocode['0']=='2'){
                                $(".announcedNo2:nth-of-type(1)").css("background-position","0 -61px");
                            }else if(data.ocode['0']=='3'){
                                $(".announcedNo2:nth-of-type(1)").css("background-position","0 -122px");
                            }else if(data.ocode['0']=='4'){
                                $(".announcedNo2:nth-of-type(1)").css("background-position","0 -183px");
                            }else if(data.ocode['0']=='5'){
                                $(".announcedNo2:nth-of-type(1)").css("background-position","0 -244px");
                            }else{
                                $(".announcedNo2:nth-of-type(1)").css("background-position","0 -305px");
                            }
                            if(data.ocode['1']=='1'){
                                $(".announcedNo2:nth-of-type(2)").css("background-position","0 0px");
                            }else if(data.ocode['1']=='2'){
                                $(".announcedNo2:nth-of-type(2)").css("background-position","0 -61px");
                            }else if(data.ocode['1']=='3'){
                                $(".announcedNo2:nth-of-type(2)").css("background-position","0 -122px");
                            }else if(data.ocode['1']=='4'){
                                $(".announcedNo2:nth-of-type(2)").css("background-position","0 -183px");
                            }else if(data.ocode['1']=='5'){
                                $(".announcedNo2:nth-of-type(2)").css("background-position","0 -244px");
                            }else{
                                $(".announcedNo2:nth-of-type(2)").css("background-position","0 -305px");
                            }
                            if(data.ocode['2']=='1'){
                                $(".announcedNo2:nth-of-type(3)").css("background-position","0 0px");
                            }else if(data.ocode['2']=='2'){
                                $(".announcedNo2:nth-of-type(3)").css("background-position","0 -61px");
                            }else if(data.ocode['2']=='3'){
                                $(".announcedNo2:nth-of-type(3)").css("background-position","0 -122px");
                            }else if(data.ocode['2']=='4'){
                                $(".announcedNo2:nth-of-type(3)").css("background-position","0 -183px");
                            }else if(data.ocode['2']=='5'){
                                $(".announcedNo2:nth-of-type(3)").css("background-position","0 -244px");
                            }else{
                                $(".announcedNo2:nth-of-type(3)").css("background-position","0 -305px");
                            } 
                            $(".conss").prepend(html);
                            $(".conss tr:nth-last-of-type(1)").remove();
                            $(".dvc").removeClass("on");
                            $(".dnv").addClass("on");
                            clearInterval(ting);
                        }
                    }
                  }
             });
    },1000);
}
</script>
<script>
        $(".fx_wf_btn").click(function(){
            //设置居中
            var wl = ($(window).width()-1020)/2;
            window.open("/public/howtoplay/howtplay_gsk3.html","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=1020, height=500,top=80,left="+wl);
        })
</script>
</body>
</html>